package com.crl.events
{
	import flash.events.Event;
	
	public class RemoteEvent extends Event
	{
		
		/**
		 * 成功 
		 */
		public static const SUCCESED:String = 'succesed';
		
		/**
		 * 失败
		 */
		public static const FAILED:String= 'failed';
		

		/**
		 * 数据 
		 */
		public var data:*;
		
		
		public function RemoteEvent(type:String,data:*)
		{
			this.data=data;
			super(type, false, false);
		}
		
		override public function clone():Event{
			return new RemoteEvent(type,data);
		}
	}
}